﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 料品分类交叉档DTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class ItemCategoryCrossAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public ItemCategoryCrossAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
					CategoryKind= 0; 
				
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.Category != null) 
			{
				this.Category.DoSerializeKeyList(dict);
			}
	        	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}
	        			if (this.Item != null) 
			{
				this.Item.DoSerializeKeyList(dict);
			}
	        			if (this.MasterOrg != null) 
			{
				this.MasterOrg.DoSerializeKeyList(dict);
			}
	        			if (this.Org != null) 
			{
				this.Org.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public ItemCategoryCrossAITDTOData(  ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData category  , System.Int32 categoryKind  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData item  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData masterOrg  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData org  )
		{
			initData();
			this.Category = category;
			this.CategoryKind = categoryKind;
			this.DescFlexField = descFlexField;
			this.Item = item;
			this.MasterOrg = masterOrg;
			this.Org = org;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 料品分类
		/// 料品分类交叉档DTO.Misc.料品分类
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_category ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Category
		{
			get	
			{	
				return m_category ;
			}
			set	
			{	
				m_category = value ;	
			}
		}
			
		

		/// <summary>
		/// 分类性质
		/// 料品分类交叉档DTO.Misc.分类性质
		/// </summary>
		private System.Int32 m_categoryKind ;
		[DataMember(IsRequired=false)]
		public System.Int32 CategoryKind
		{
			get	
			{	
				return m_categoryKind ;
			}
			set	
			{	
				m_categoryKind = value ;	
			}
		}
			
		

		/// <summary>
		/// 描述性弹性域
		/// 料品分类交叉档DTO.Misc.描述性弹性域
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 料品
		/// 料品分类交叉档DTO.Misc.料品
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_item ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Item
		{
			get	
			{	
				return m_item ;
			}
			set	
			{	
				m_item = value ;	
			}
		}
			
		

		/// <summary>
		/// 来源组织
		/// 料品分类交叉档DTO.Misc.来源组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_masterOrg ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData MasterOrg
		{
			get	
			{	
				return m_masterOrg ;
			}
			set	
			{	
				m_masterOrg = value ;	
			}
		}
			
		

		/// <summary>
		/// 组织
		/// 料品分类交叉档DTO.Misc.组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_org ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Org
		{
			get	
			{	
				return m_org ;
			}
			set	
			{	
				m_org = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
												
		#endregion 
	} 	
}
